1. 04 Jul, 2011 5 commits
    • Gerrit Renker's avatar
      dccp: Clean up slow-path input processing · c0c20150
      Gerrit Renker authored
      This patch rearranges the order of statements of the slow-path input processing
      (i.e. any other state than OPEN), to resolve the following issues.
      
       1. Dependencies: the order of statements now better matches RFC 4340, 8.5, i.e.
          step 7 is before step 9 (previously 9 was before 7), and parsing options in
          step 8 (which may consume resources) now comes after step 7.
       2. Sequence number checks are omitted if in state LISTEN/REQUEST, due to the
          note underneath the table in RFC 4340, 7.5.3.
          As a result, CCID processing is now indeed confined to OPEN/PARTOPEN states,
          i.e. congestion control is performed only on the flow of data packets. This
          avoids pathological cases of doing congestion control on those messages
          which set up and terminate the connection.
       3. Packets are now passed on to Ack Vector / CCID processing only after
          - step 7  (receive unexpected packets),
          - step 9  (receive Reset),
          - step 13 (receive CloseReq),
          - step 14 (receive Close)
          and only if the state is PARTOPEN. This simplifies CCID processing:
          - in LISTEN/CLOSED the CCIDs are non-existent;
          - in RESPOND/REQUEST the CCIDs have not yet been negotiated;
          - in CLOSEREQ and active-CLOSING the node has already closed this socket;
          - in passive-CLOSING the client is waiting for its Reset.
          In the last case, RFC 4340, 8.3 leaves it open to ignore further incoming
          data, which is the approach taken here.
      Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
      c0c20150
    • Yoshihiro Shimoda's avatar
      net: sh_eth: remove __flush_purge_region · 31fcb99d
      Yoshihiro Shimoda authored
      It is a function of SuperH architecture. There is no good to use
      the function on a driver generally. So, the driver uses
      dma_map_single() instead of __flush_purge_region.
      Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      31fcb99d
    • Joe Perches's avatar
      af_econet: Use current logging styles and neatening · ee9c88f2
      Joe Perches authored
      Use pr_fmt() without KBUILD_MODNAME to allow AUN and econet prefixes.
      Convert printks with KERN_DEBUG to pr_debug.
      Hoist assigns from if.
      80 column wrapping.
      Move open braces to end of line.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ee9c88f2
    • Joe Perches's avatar
      netpoll: Remove wrapper function netpoll_poll · 2a49e001
      Joe Perches authored
      Too trivial to live.
      
      cc: WANG Cong <amwang@redhat.com>
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2a49e001
    • Joe Perches's avatar
      netpoll: Remove unused EXPORT_SYMBOLs of netpoll_poll and netpoll_poll_dev · 234b921d
      Joe Perches authored
      Unused symbols waste space.
      
      Commit 0e34e931
      "(netpoll: add generic support for bridge and bonding devices)"
      added the symbol more than a year ago with the promise of "future use".
      
      Because it is so far unused, remove it for now.
      It can be easily readded if or when it actually needs to be used.
      
      cc: WANG Cong <amwang@redhat.com>
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      234b921d
  2. 01 Jul, 2011 32 commits
  3. 30 Jun, 2011 3 commits