diff options
author | Jan Beulich <JBeulich@suse.com> | 2014-03-11 13:56:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-13 15:16:29 -0400 |
commit | f9708b4302733ca023722fddcf9f501a3cb8c98b (patch) | |
tree | b87492efee7b5c7046c29a1422c3159b843ba0c1 /drivers | |
parent | 50240dc37e5363cc8e8de34d931392263e38ca7d (diff) |
consolidate duplicate code is skb_checksum_setup() helpers
consolidate duplicate code is skb_checksum_setup() helpers
Realizing that the skb_maybe_pull_tail() calls in the IP-protocol
specific portions of both helpers are terminal ones (i.e. no further
pulls are expected), their maximum size to be pulled can be made match
their minimal size needed, thus making the code identical and hence
possible to be moved into another helper.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Paul Durrant <paul.durrant@citrix.com>
Cc: David Miller <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions